package com.edu.service;


import com.edu.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserService {

    int addUser(@Param("userList") List<User> userList);

    int deleteUser(int userId);

     int updateUser(User user);

    List<User> selectAll();

    User selectUserById(int userId);

    Map<String, Object> login(String username, String password);
}
